CustomEventParams

fun CustomEventParams(document: Document, params: EventParams = EventParams(), payload: Any? = null): CustomEventParams
fun CustomEventParams(document: Document, params: EventParams = EventParams(), payload: Any? = null): CustomEventParams

Creates a new instance of CustomEventParams with the given parameters.

Since

8.0.0

Parameters

document

The document where the event will be dispatched.

params

The parameters of the custom event.

payload

The payload of the custom event. It is converted to a JavaScript type based on the following rules: Java to JavaScript.